/* rqalttd.i  - APPROVER LIST TEMPTABLE DEFINITIONS                           */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/*V8:ConvertMode=NoConvert                                                    */
/* Revision: 8.6    LAST MODIFIED BY: 04/22/97  By: B. Gates          *J1Q2*  */


/* REVISION: 8.6E     LAST MODIFIED: 02/23/98   BY: *L007* A. Rahane */
/* REVISION: 8.6E     LAST MODIFIED: 10/04/98   BY: *J314* Alfred Tan         */
/* REVISION: 9.1      LAST MODIFIED: 08/12/00   BY: *N0KP* myb                */


/* ********** Begin Translatable Strings Definitions ********* */


&SCOPED-DEFINE rqalttd_i_1 "Job"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_2 "Direct"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_3 "Horizontal"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_4 "Admin Appr"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_5 "Alternate Appr"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_6 "Aprvr"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_7 "Vertical"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_8 "Rvwr"
/* MaxLen: Comment: */

&SCOPED-DEFINE rqalttd_i_9 "Required"
/* MaxLen: Comment: */

/* ********** End Translatable Strings Definitions ********* */

         define variable label_is_approver like mfc_logical label {&rqalttd_i_6}.
         define variable label_is_reviewer like mfc_logical label {&rqalttd_i_8}.

         /*COMBINED APPROVER LIST*/

     define {1} shared temp-table ttcal no-undo
        field ttcal_apr_userid like rqa_apr
        field ttcal_required like rqa_apr_req
           label {&rqalttd_i_9} column-label {&rqalttd_i_9}
        field ttcal_is_horizontal like mfc_logical label {&rqalttd_i_3}
        field ttcal_is_vertical like mfc_logical label {&rqalttd_i_7}
        field ttcal_is_job like mfc_logical label {&rqalttd_i_1}
        field ttcal_is_direct like mfc_logical label {&rqalttd_i_2}
        field ttcal_is_approver like label_is_approver
        field ttcal_is_reviewer like label_is_reviewer
        field ttcal_apr_action like rqh_action
        field ttcal_apr_date like rqh_date
        field ttcal_apr_time like rqh_time
        index ttcal_apr is unique primary
           ttcal_apr_userid.



     /*HORIZONTAL (CATEGORY) APPROVER LIST*/

     define {1} shared temp-table tthal no-undo
        field tthal_category like rqc_category
        field tthal_apr_userid like rqa_apr
        field tthal_apr_required like rqa_apr_req
        field tthal_rvw_required like rqa_rvw_req
        field tthal_is_approver like label_is_approver
        field tthal_is_reviewer like label_is_reviewer
        index tthal_apr is unique primary
           tthal_category
           tthal_apr_userid.



         /*JOB APPROVER LIST*/

     define {1} shared temp-table ttjal no-undo
        field ttjal_apr_userid like rqa_apr
        field ttjal_apr_required like rqa_apr_req
        field ttjal_rvw_required like rqa_rvw_req
        field ttjal_is_approver like label_is_approver
        field ttjal_is_reviewer like label_is_reviewer
        index ttjal_apr is unique primary
           ttjal_apr_userid.



         /*VERTICAL APPROVER LIST*/

     define {1} shared temp-table ttval no-undo
        field ttval_apr_userid like rqa_apr
        field ttval_apr_required like rqa_apr_req
        field ttval_rvw_required like rqa_rvw_req
        field ttval_is_approver like label_is_approver
        field ttval_is_reviewer like label_is_reviewer
        index ttval_apr is unique primary
           ttval_apr_userid.



         /*DIRECT APPROVER LIST*/

     define {1} shared temp-table ttdal no-undo
        field ttdal_site like rqd_site
        field ttdal_prod_line like pt_prod_line
        field ttdal_apr_userid like rqa_apr
        field ttdal_apr_required like rqa_apr_req
        field ttdal_rvw_required like rqa_rvw_req
        field ttdal_is_approver like label_is_approver
        field ttdal_is_reviewer like label_is_reviewer
        index ttdal_apr is unique primary
           ttdal_site
           ttdal_prod_line
           ttdal_apr_userid.



         /*ALTERNATES LIST*/

     define {1} shared temp-table ttalt no-undo
        field ttalt_apr_userid like rqa_apr
        field ttalt_alt_userid like rqa_alt_apr[1]
        field ttalt_is_admin_apr as log label {&rqalttd_i_4}
        field ttalt_is_alt_apr as log label {&rqalttd_i_5}
        field ttalt_is_horizontal like ttcal_is_horizontal
        field ttalt_is_vertical like ttcal_is_vertical
        field ttalt_is_job like ttcal_is_job
        field ttalt_is_direct like ttcal_is_direct
        index ttalt_apr is unique primary
          ttalt_apr_userid
          ttalt_alt_userid.
